//===============================================================================
// Microsoft patterns & practices Enterprise Library Contribution
// Query Application Block
//===============================================================================

using System;
using System.Runtime.Serialization;
using System.Collections.Generic;

namespace EntLibContrib.Query
{
	/// <summary>
	/// A collection of parameter objects
	/// </summary>
	/// <remarks>This collection is used to build the set of parameters for a query</remarks>
	[Serializable]
	public class ParameterDictionary : Dictionary<string, IParameter>
	{
		#region Construction
		/// <summary>
		/// Initializes a new instance of the <see cref="ParameterDictionary"/> class.
		/// </summary>
		public ParameterDictionary()
		{
		}

		/// <summary>
		/// Initializes a new instance of the <see cref="ParameterDictionary"/> class.
		/// </summary>
		/// <param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> object containing the information required to serialize the <see cref="T:System.Collections.Generic.Dictionary`2"></see>.</param>
		/// <param name="context">The context.</param>
		protected ParameterDictionary(SerializationInfo info, StreamingContext context) : base(info, context)
		{
		}
		#endregion
	}
}
